package com.ruoyi.liangshi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.liangshi.domain.BiBsKscDay;
import com.ruoyi.liangshi.vo.query.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author LiuJin
 * @Date: Create in 2023-11-22 10:15
 * @Description: this class is
 */
public interface BiBsKscDayMapper extends BaseMapper<BiBsKscDay> {

    /**
     *
     * @param type 1:周,2:月
     * @param date
     * @param shopId
     * @param beginTime
     * @param endTime
     * @return
     */
    List<BiBsKscDayChartData> getBsKscDayChartDataList(@Param("type")String type,@Param("date")String date,@Param("shopId") Long shopId,@Param("beginTime") String beginTime,
                                                       @Param("endTime") String endTime);

    List<BiBsKscDayAvgTimeChartData> getBsKscDayAvgTimeChartDataList(@Param("type")String type,@Param("date")String date,@Param("shopId") Long shopId,@Param("beginTime") String beginTime,
                                                                     @Param("endTime") String endTime);

    List<BiBsKscDayDataVo> getBiBsKscDayDataList(@Param("type")String type,@Param("date")String date,@Param("shopId") Long shopId,@Param("beginTime") String beginTime,
                                                 @Param("endTime") String endTime);
}
